import { defineStore } from "pinia";

export const counterStore = defineStore("",{
    state:()=>({//存放属性
        count:0,
    }),
    actions:{   //存放方法
        add(){
            this.count++;
        }
    },
    persist:{}
});